<%--
  Created by IntelliJ IDEA.
  User: 15593
  Date: 2021/7/17
  Time: 18:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>首页</title>
  </head>
  <body>
  <% Object username = session.getAttribute("username");
  if (username==null){
  %>
  <a href="/login.jsp">请登录</a>
  <%}else {%>
  <a href="addStudent.jsp">添加学生</a>
  <a href="listStudentservlet">查找学生</a>
  <%}%>

  </body>
</html>
